
import Http from '@/util/request'

export const login = (data: any) => {
    return Http.request({
        url: '/admin/auth/auth/login',
        method: 'post',
        data
    })
}

export const getUserInfo = () => {
    return Http.request({
        url: '/admin/auth/auth/getUserInfo',
        method: 'get'
    })
}
